# Maintainer: Alexey Pavlov <alexpux@gmail.com>

_realname=hicolor-icon-theme

pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.13
pkgrel=1
pkgdesc="Freedesktop.org Hicolor icon theme (mingw-w64)"
arch=('any')
url="http://icon-theme.freedesktop.org/wiki/HicolorTheme"
license=("GPL2")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
depends=()
options=(!libtool strip staticlibs)
source=("http://icon-theme.freedesktop.org/releases/${_realname}-${pkgver}.tar.gz")
md5sums=('21d0f50aa6b8eef02846cda9e5e9324c')

build() {
  cd ${srcdir}/${_realname}-${pkgver}
  ./configure \
    --prefix=${MINGW_PREFIX} \
    --build=${MINGW_CHOST} \
    --host=${MINGW_CHOST}
  make
}

package() {
  cd "${srcdir}/${_realname}-${pkgver}"
  make DESTDIR="$pkgdir" install
}
